home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 051-075 / scopedisk72 / unix / tail.doc < prev    next >
Text File  |  1995-03-19  |  1KB  |  30 lines

  1.             TAIL.C
  2.             ------
  3.                 by Wayne Hayes        (PUBLIC DOMAIN)
  4.  
  5. TAIL is a standard UNIX utility, usually used to print out the end of a text
  6. file. (You know, those 3-hour 1000-line conferences that take 5 minutes
  7. to print onscreen, and has a message you're looking for at line 998, just
  8. before the 'clear screen' on line 999.)
  9.    By the way, it's the program that's public domain, not me.
  10.  
  11.  
  12. USAGE:        tail [+/-n] file1 file2 file3 ...
  13.  
  14.  
  15. The simplest use is 'tail BIGFILE' (eg. above).
  16.  
  17. 'tail -50 file' gives you the last 50 lines of a file. The default is the
  18. last 10 lines.
  19.  
  20. 'tail +50 file' gives you the file STARTING at LINE # 50.
  21.  
  22. 'tail /50 file' will cause an error unless you have a file called /50.
  23.  
  24. This file is small, so no matter how useless you think it is, KEEP IT,
  25. cause you're bound to need it the day after you turf it to make room
  26. for that neat space invaders arc file.
  27.     ---> And besides, you'll be one up on most UNIX users who've
  28. never heard of this program but would think it really neat for those manual
  29. 'pages' that have the bug list at the end of 500-line explanations.
  30.